                 $('.shouye').on("click", function() {
					location.href = "shouye.html";
				})
				$('.sousuo').on("click", function() {
					location.href = 'sousuo.html';
				})
				$('.gouwuche').on("click", function() {
					location.href = 'gouwuche.html';
				})
				$('.wodexiu').on("click", function() {
					location.href = 'yansisihebing.html';
				})
				$('.gengdu').on("click", function() {
					location.href = 'gengduo.html';
				})
	//加入购物车
	$(function(){
	    		var cartNum=0;
	    		
	    		$('.addCart').on('click',function(){
	    			
	    			//购物车
	    			var shopCart=$(".shopCart");
	    			//alert('选中了')
	    			var addImg=$(this).parent().parent().parent().find(".zouxiu-8SH-DL-dt");
//	    			console.log(addImg);
	    			//克隆图片
	    			var cloneImg=addImg.clone();
	    			//console.log(cloneImg);
	    			
	    			cloneImg.css({
	    				"width":"200px",
	    				"height":"200px",
	    				"position":"absolute",
	    				"top":addImg.offset().top,
	    				'left':addImg.offset().left,
	    				"opacity":".5",
	    				
	    			}).appendTo($('body')).animate({
	    				"width":"50",
	    				"height":"50",
	    				"top":shopCart.offset().top,
	    				'left':shopCart.offset().left,
	    				 
	    			},1000,function(){
	    				cloneImg.animate({
	    					"width":"0",
	    					"height":"0",
	    				},function(){
	    					$('.cartNum').html(++cartNum);
	    					$(this).detach();
	    				});
	    			});
	    		});
	    	});
//tab切换
